Skip to content

FIX: CI Windows Env Check#1346

Merged
genedna merged 2 commits into
gitmono-dev:mainfrom
AidCheng:main
Aug 18, 2025
Merged

FIX: CI Windows Env Check#1346
genedna merged 2 commits into
gitmono-dev:mainfrom
AidCheng:main

Conversation

@AidCheng

Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: AidCheng <cn.aiden.cheng@gmail.com>
@vercel

vercel Bot commented Aug 18, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
mega Ready Ready Preview Comment Aug 18, 2025 8:12am

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes an issue with CI environment checking on Windows platforms by correcting the output handling in the diff command.

  • Replaces diff_output with results.join("") for non-Unix platforms in the diff command execution

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread libra/src/command/diff.rs
#[cfg(not(unix))]
{
io::stdout().write_all(diff_output.as_bytes()).unwrap();
io::stdout().write_all(results.join("").as_bytes()).unwrap();

Copilot AI Aug 18, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The variable 'results' is not defined in the visible context. This will cause a compilation error. Ensure that 'results' is properly defined and accessible in this scope, or verify that the correct variable name should be used here.

Copilot uses AI. Check for mistakes.
@genedna
genedna added this pull request to the merge queue Aug 18, 2025
Merged via the queue into gitmono-dev:main with commit 52f8684 Aug 18, 2025
9 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants